import 'package:flutter/material.dart';
import 'package:maiya_assistant/page/home_page.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: '麦芽助手',
      theme: ThemeData(
        primaryColor: const Color(0xFF3D75FF),
        colorScheme: ColorScheme.fromSwatch()
            .copyWith(secondary: const Color(0xFF3D75FF)),
        textTheme: const TextTheme(
          headline1: TextStyle(
              fontSize: 36, fontWeight: FontWeight.bold, color: Colors.white),
          headline2: TextStyle(
              fontSize: 32.0, fontWeight: FontWeight.w400, color: Colors.white),
          headline3: TextStyle(
              fontSize: 28.0, fontWeight: FontWeight.w400, color: Colors.white),
          headline4: TextStyle(
              fontSize: 24.0, fontWeight: FontWeight.w400, color: Colors.white),
          headline6: TextStyle(
              fontSize: 16.0, fontWeight: FontWeight.w200, color: Colors.black),
          bodyText1: TextStyle(fontSize: 20.0, fontWeight: FontWeight.w200),
        ),
        fontFamily: 'Georgia',
      ),
      home: const HomePage(),
    );
  }
}
